package cn.gotom.pinggu.action;

import com.google.inject.Inject;

import cn.gotom.core.web.Constants;
import cn.gotom.core.web.action.MenuInf;
import cn.gotom.pinggu.service.SyncUserService;

public class UserSyncAction implements MenuInf
{
	@Inject
	private SyncUserService syncUserService;

	public String list()
	{
		syncUserService.syncUser();
		return Constants.LIST;
	}
	public String input()
	{
		return Constants.INPUT;
	}
	@Override
	public String getName()
	{
		return "用户同步";
	}

	@Override
	public String getGroupName()
	{
		return "系统管理";
	}

	@Override
	public int getMenuSort()
	{
		return 10000;
	}
}
